<div class="app-content-body ">   
    <div class="bg-light lter b-b wrapper-md hidden-print">
      <h1 class="m-n font-thin h3">区域代理合约管理</h1>
    </div>
    <div class="crud-container crud-reset">
		<div class="row" style="margin:0;">
			<div class="paddings">
				<div class="col-md-3 col-sm-4 col-lg-2">
	                <div id="date" class="margins" style="width: 100%;"></div>
				</div>
				<div class="col-md-3 col-sm-4 col-lg-2">
	                <div id="dates" class="margins" style="width: 100%;"></div>
				</div>
			</div>
		</div>
		<div class="data_list" style="margin-top: 5px;"></div>
	</div>
</div>
<script>
	$(function(){	   
	    var now = new Date()
	    $("#date,#dates").dxDateBox({
	        type: "date",
	        value: now
	    });
	    
	    $(".crud-container").crud({
	      url: API("members"),
		
	      columns: [{
	        dataField: 'id',
	        caption: '区域名称'
	      },{
	        dataField: 'id',
	        caption: '合同类型'
	      },{
	        dataField: 'id',
	        caption: '代理人姓名'
	      },{
	      	dataField: 'id',
	        caption: '代理人手机'
	      },{
	        dataField: 'id',
	        caption: '变更日期'
	      },{
	      	 caption: '备注',
	         buttons: [{
		        title: '查看备注',
		        url: ''
		     }]
	      },{
	      	 caption: '操作',
	         buttons: [{
		        title: '编辑',
		        url: ''
		       }]
	      }]
	   });
	})
</script>